package datatypes;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
// JAX-RS supports an automatic mapping from JAXB annotated class to XML and JSON
// Isn't that cool?
public class vhomeTimeSeriesElement {
	public vhomeTimeSeriesElement() 
	{}
	public vhomeTimeSeriesElement(long timestamp, double value) 
	{
		this.timestamp = timestamp ; 
		this.value = value ;
	}
	
	 long  timestamp ; 
	public long getTimestamp() {
		return timestamp;
	}
	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}
	public double getValue() {
		return value;
	}
	public void setValue(double value) {
		this.value = value;
	}
	double value ; 
	
}